package com.study.blogsearchconsumer.config;

import org.springframework.stereotype.Component;

/**
 * Mq基础配置
 * @author yana
 */
@Component
public class MqConfig {

    public String jcRabbitAddresses = "192.168.2.140:5672,192.168.2.141:5672";

    public String jcRabbitUsername = "dev_jc";

    public String jcRabbitPassword = "123456";

    public String jcRabbitVirtualHost = "/dev_jc";

//    @Value("${jc_rabbitmq_address}")
//    public String jcRabbitAddresses;
//
//    @Value("${jc_rabbitmq_username}")
//    public String jcRabbitUsername;
//
//    @Value("${jc_rabbitmq_password}")
//    public String jcRabbitPassword;
//
//    @Value("${jc_rabbitmq_virtualhost}")
//    public String jcRabbitVirtualHost;

}

